RETRIEVE SMS list- C#

To retrieve SMS list, use the following code:

var client = new PayliteMessaging.Client.MessagingClient();

 

var response = client.GetSmsList(new GetMessageDetailsModel

{

ApiKey = "Your API Key",

StartDate = DateTime.Now.AddDays(-29),

EndDate = DateTime.Now

});